package com.pronhub.cloud.shop.web.controller;

import com.pronhub.cloud.shop.service.IUserService;
import com.pronhub.cloud.shop.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @Autowired
    private IUserService userService;
    @RequestMapping("hello")
    public User hello(){
        return userService.find(13088889999L);
    }
}
